package com.ojoin.trade.common_core.web.service;

import java.util.List;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.common_core.web.domain.TbArea;

public interface AreaBaseService extends BaseService<TbArea> {
	
	/**
	 * 查询省的信息, 根据area里面的parentid='0000'值返回area_id,name
	 * @return
	 * @throws BusinessException
	 */
	public List<TbArea> queryProvinceList() throws BusinessException;
	
	
	/**
	 * 查询市的信息。queryCity(String PARENT_ID) 返回area_id,name
	 * @param parentid
	 * @return
	 * @throws BusinessException
	 */
	public List<TbArea> queryCity(String parentid) throws BusinessException;
	
}
	
